const appInstance = getApp()

Page({

  /**
   * 页面的初始数据
   */
  data: {
    navHeight: appInstance.globalData.navHeight,
    effectiveHeight: appInstance.globalData.effectiveHeight,
  },

  /**
 * 拨打电话
 */
  callPhone(ev) {
    wx.makePhoneCall({
      phoneNumber: ev.target.dataset.phone
    })
  }
})